<?php
// test/unit/JobeetTest.php
require_once dirname(__FILE__).'/../bootstrap/unit.php';
 
$t = new lime_test(9);

$t->is(Jobeet::slugify('Sensio'), 'sensio');
$t->is(Jobeet::slugify('sensio  labs'), 'sensio-labs');
$t->is(Jobeet::slugify('SenSio        labs'), 'sensio-labs');
$t->is(Jobeet::slugify('Paris, France'), 'paris-france');
$t->is(Jobeet::slugify('    sensio'), 'sensio');
$t->is(Jobeet::slugify('Sensio         '), 'sensio');
$t->is(Jobeet::slugify('Sensio'), 'sensio');
$t->is(Jobeet::slugify(''), 'n-a');
$t->is(Jobeet::slugify(' é- '), 'n-a', '::slugify() converts a string that only contains non non-ASCII characters to n-a');


?>